package com.henu.engineer.dao.mapper.teacher

import com.henu.engineer.dao.entity.teacher.TeacherCourse
import org.apache.ibatis.annotations.Mapper
import org.springframework.stereotype.Repository

@Mapper
@Repository
interface TeacherCourseXmlMapper {

    /**
     * 返回某老师的所有所教课程
     */
    fun selectByTeacherId(teacherId: String): List<TeacherCourse>

    /**
     * 返回某老师的所有所教课程的id
     */
    fun selectCourseIdsByTeacherId(teacherId: String): List<String>

}